#!/usr/bin/env python3
# -*-coding:utf-8 -*-
# __author__=LuLu

from selenium.webdriver.common.by import By


class SelectBoxLoc(object):

    # table选择框
    @staticmethod
    def select_one_box(num):
        return (By.XPATH,
                f'//*[@id="etravel"]/div/div[3]/div/div[3]/div/div[1]/div[2]/div[2]/table/tbody/'
                f'tr[{num}]/td[1]/label/input')

    # table全选当前页面
    select_all = (By.XPATH, '//*[@id="etravel"]/div/div[3]/div/div[3]/div/div[1]/div[2]/div[2]'
                            '/table/thead/tr/th[1]/div[1]/label/input')
